package com.sjy.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @program: microservice2022
 * @description: 应用上下文配置
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-01-14 15:19
 **/
@Configuration
public class ApplicationContextConfig {
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
